//
//  AbstractPlugin.m
//  MyFramework
//
//  Created by  Loadar on 13-1-29.
//  Copyright 2013 Newsoft. All rights reserved.
//

#import "AbstractPlugin.h"


@implementation AbstractPlugin

- (id)init
{
	self = [super init];
	if (self) {
		pluginName = nil;
		pluginLog = nil;
	}
	return self;
}

- (void)dealloc
{
	if (pluginName != nil) {
		[pluginName release];
	}
	if (pluginLog != nil) {
		[pluginLog release];
	}
	[super dealloc];
}

- (NSString*)pluginName
{
	return pluginName;
}

- (void)run
{
	
}

- (id<LogProtocol>)pluginLog
{
	return pluginLog;
}

@end
